<template>
        <div class="userlist">
            <ul class="mui-table-view" v-for='(item,i) in tables' :key="item.recid">
                <li class="mui-table-view-cell">
                    <router-link :to="{path:item.path,query:{yhmlk:item.yhmlk,reportedByOther:item.reportedByOther,information:item.information}}" class="mui-navigate-right">
                        <span class="company">{{item.name}}</span>
                    </router-link>
                </li>
            </ul>
        </div>
    </template>
    
    <script>
        import { Indicator } from 'mint-ui';
        import {Toast} from 'mint-ui'
        export default {
            data() {
                return {
                    tables:[{
                        name: '辅助表1-分车分趟次运输情况记录表',
                        recid: '',
                        reportedByOther:this.$route.query.reportedByOther,
                        yhmlk: this.$route.query.id,
                        path: '/home/auxiliaryTableOne/:yhmlk/:reportedByOther',
                        information:this.$route.query.information,
                    },{
                        name: '辅助表2-分车分日期记录表',
                        recid: '',
                        reportedByOther:this.$route.query.reportedByOther,
                        yhmlk: this.$route.query.id,
                        path: '/home/auxiliaryTableTwo/:yhmlk/:reportedByOther',
                        information:this.$route.query.information,
                    },{
                        name: '辅助表3-分类分日期记录表',
                        recid: '',
                        reportedByOther:this.$route.query.reportedByOther,
                        yhmlk: this.$route.query.id,
                        path: '/home/auxiliaryTableThree/:yhmlk/:reportedByOther',
                        information:this.$route.query.information,
                    },{
                        name: '辅助表4-车辆分类整月记录表',
                        recid: '',
                        yhmlk: this.$route.query.id,
                        reportedByOther:this.$route.query.reportedByOther,
                        path: '/home/auxiliaryTableFour/:yhmlk/:reportedByOther',
                        information:this.$route.query.information,
                    },{// 新增辅助表五：货运车辆趟次记录表 add by qzn 220190710 
                        name: '辅助表5-货运车辆趟次记录表',
                        recid: '',
                        yhmlk: this.$route.query.id,
                        reportedByOther:this.$route.query.reportedByOther,
                        path: '/home/auxiliaryTableFive/:yhmlk/:reportedByOther',
                        information:this.$route.query.information,
                    },
                    ],
                }
            },
            watch: {
                resultList(newVal){
                    if(newVal != []){
                        Indicator.close();
                    }
                }
            },
            created() {
    
            },
            mounted(){
                //回到企业列表页，清除所有到两个定时器
                clearInterval(this.$store.state.hyclitervalId);
                clearInterval(this.$store.state.intervalId);
                // this.getAllSampleList();
                // Indicator.open({
                //             text: '加载中...',
                //             spinnerType: 'fading-circle'
                //         });
            },
            methods: {
              
            },
        }
    </script>
    
    <style lang="scss" scoped>
        mt-header {
            z-index: 999;
            /*padding-top: 20px;*/
        }
    
        .mint-header {
            height: 40px;
            /*padding-top: 30px;*/
        }
    
        .userlist {
    
            height: 100%;
            width: 100%;
            /*padding-top: 80px;*/
            padding-top: 10px;
    
            /*padding-top: 20px;*/
            .fonts {
                font-size: 14px;
                color: #226aff;
                /* display: flex;
                justify-content:space-between; */
                /* margin: 0 10% 0 50%;
                display: inline-block;   */
                float: right;
                margin-right: 10%;
            }
            .time {
                font-size: 14px;
                color: #226aff;
                margin: 0 0 0 3%;
            }
            .sbqk {
                font-size: 14px;
                color: #226aff;
                margin: 0 0% 0 60%;
            }
            .company {
                font-size: 13px;
                color: #030303;
            }
            .mui-table-view-cell > a:not(.mui-btn).mui-active {
                background-color: #fff;
            }
            .morebutton{
                margin-bottom: 3%;
            }
            .el-input__icon {
                height: 70%;
                width: 25px;
                text-align: center;
                -webkit-transition: all .3s;
                transition: all .3s;
                line-height: 40px;
            }
        }
    </style>